﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="KeywordsSEO.aspx.cs" Inherits="KeywordsSEO" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/lib.js"></script>
    <script type="text/javascript">
        $(function () { BindBtn(); top.ResetFrmAutoHeight(); });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="conBox">
        <div class="grid-box">
            <ul class="TagBtnPanel" id="TagPanel">
                <asp:Repeater ID="rptCount" runat="server" OnItemCommand="rptCount_ItemCommand">
                    <ItemTemplate>
                        <li>
                            <asp:Button ID="btnCount" runat="server"  CommandName="SetIndex" CommandArgument='<%#Eval("RunIndex")%>' Text='<%#"第"+Eval("RunIndex")+"次"%>' CssClass='<%#Convert.ToInt32(Eval("RunIndex"))==CountIndex?"btnCss curbtnCss":"btnCss"%>'/></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <table class="grid-table">
                <thead>
                    <tr>
                        <th class="align-l" style="width:50px;">
                            序号
                        </th>
                        <td class="align-c" style="width: 30px;">
                            排名
                        </td>
                        <td class="align-l">
                            标题
                        </td>
                        <td class="align-l" style="width: 80px;">
                            位置
                        </td>
                        <td class="align-l" style="width: 120px;">
                            抓取日期
                        </td>
                    </tr>
                </thead>
                <tbody id="listinfo" style="background: #eeeeee">
                    <asp:Repeater ID="rptWebSEO" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#nNum++%>
                                </td>
                                <td>
                                    <%#Eval("AllIndex")%>
                                </td>
                                <td>
                                    <a href="<%#Eval("WebUrl")%>" target="_blank">
                                        <%#Server.HtmlEncode(Eval("WebTitle").ToString())%></a>
                                </td>
                                <td>
                                    第<%#Eval("PageIndex")%>页第<%#Eval("RowIndex")%>位
                                </td>
                                <td>
                                    <%#Eval("CreateTime")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
            <div id="noData" runat="server" style="background: #eeeeee">
                <div class="noDateMsg">
                    没有任何信息！</div>
            </div>
             <div style="padding: 5px 0; text-align: center;">
                共<asp:Literal ID="ltlCount" runat="server" Text="0"></asp:Literal>条
            </div>
            <div style="line-height: 30px; text-align: center; height: 40px; padding-top: 5px;">
                <input type="reset" class="button" value="关 闭" onclick="top.$('#DialogIframe').dialog('close');" /></div>
        </div>
    </div>
    </form>
</body>
</html>
